import React from 'react';
import Button from "./components/Button";
import { queryString2Data } from "@utils/index";


export default class App extends React.Component {
  render(): React.ReactNode {
    return <Button
    label='button'
    onClick={this.onClick}
    ></Button>
  }

  onClick = () => {
    console.log(queryString2Data(location.href))
  }
}




